SftTree/OCX 7.0

SftTree.RowColTextStyle Property

Softel vdm, Inc.

Defines the style used to display the row/column header text.

Deprecated - Provided for compatibility with earlier versions only - Use RowColumnHeader.TextHAlign and RowColumnHeader.TextVAlign instead

Syntax       

Get

VB.NET

Style = object.RowColTextStyle  As SftTreeAlignConstants

VB

Style = object.RowColTextStyle  As SftTreeAlignConstants

C#.NET

SftTreeAlignConstants Style = object.RowColTextStyle;

VC++

enum SftTreeAlignConstants Style = object->RowColTextStyle;
enum SftTreeAlignConstants Style = object->GetRowColTextStyle();

C

HRESULT object->get_RowColTextStyle(enum SftTreeAlignConstants* Style);

Delphi

Style := object.RowColTextStyle  : TOleEnum;

Put

VB.NET

object.RowColTextStyle = Style  As SftTreeAlignConstants

VB

object.RowColTextStyle = Style  As SftTreeAlignConstants

C#.NET

SftTreeAlignConstants object.RowColTextStyle = Style;

VC++

enum SftTreeAlignConstants object->RowColTextStyle = Style;
void object->PutRowColTextStyle(enum SftTreeAlignConstants Style);

C

HRESULT object->put_RowColTextStyle(enum SftTreeAlignConstants Style);

Delphi

object.RowColTextStyle := Style  : TOleEnum;

object

A SftTree object.

Style

Defines the style used to display the row/column header text.

One value of each of the following tables can be combined and used as Style value:

Horizontal Alignment

Value

Description

alignSftTreeLeft 

0

The text and graphic component are left aligned.

alignSftTreeCenter

1

The text and graphic component are centered.

alignSftTreeRight 

2

The text and graphic component are right aligned.

Vertical Alignment

Value

Description

alignSftTreeVCenter

16

The text is vertically centered. If no vertical alignment value is specified, this is the default.

alignSftTreeTop

32

The text is aligned with the top of the available area.

alignSftTreeBottom

64

The text is aligned with the bottom of the available area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowColumnHeader.TextHAlign and RowColumnHeader.TextVAlign instead

The RowColTextStyle property defines the style used to display the row/column header text.

The RowColumnHeader.Text property can be used to define the text displayed in the row/column header.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com